package fe.pong.tennis.gameElements;

import fe.pong.tennis.screens.GamePlayScreen;
import flash.display.Sprite;
import flash.geom.Point;

class Personaje extends GameElement {

	private var _colissionArea: Image;

	public function new() {
		super();
		_colissionArea = new Image("images/transparent.png", 50);
		addChild(_colissionArea);
	}

	public function kill(screen: GamePlayScreen, tiempo: Float) {
		visible = false;
	}

	public function initialite() {
		visible = true;
	}

	public function getColissionArea(): Sprite {
		return _colissionArea;
	}

}